g++ server.cpp -lpthread -o server
./server